package com.mjh.zhujianju.dao.party;

import com.livew.framework.base.dao.BaseMapper;
import com.mjh.zhujianju.model.party.BuildingClassEO;
import com.mjh.zhujianju.vo.party.BuildingClassVO;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface BuildingClassMapper extends BaseMapper<BuildingClassEO> {

    /**
     * 首页展示列表
     * @return
     */
    List<BuildingClassVO> queryBuildingClassForIndex();

    /**
     * 根据类型查询课程类型
     * @param type
     * @return
     */
    List<BuildingClassVO> queryBuildingClassList(@Param("type") String type);
}